/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ConsultaURL;

import java.io.IOException;
import java.net.MalformedURLException;
import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Marcello
 */
public class TestaURLCommunication {

    public static void main(String args[]){

        URLCommunication urlcom = new URLCommunication(null);
        
        try {
            urlcom.ConsultaPalavra("umas");
        } catch (MalformedURLException ex) {
            Logger.getLogger(TestaURLCommunication.class.getName()).log(Level.SEVERE, null, ex);
        } catch (IOException ex) {
            Logger.getLogger(TestaURLCommunication.class.getName()).log(Level.SEVERE, null, ex);
        }

    }

}
